package com.offcn.dao;

import com.offcn.pojo.Student;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface StudentRepository extends MongoRepository<Student, Integer> {

    public Student findByScode(String scode);

    public void deleteByScode(String scode);
}
